
<template>
  <div>
    <el-tag size="mini" type="info" style="margin-right: 5px;">{{ row[column.property] }}</el-tag>
    {{ row[column.property+"_show_value"] }}
  </div>
</template>

<script>

export default {
  name: 'CellSelector',
  props: {
    params: Object
  },
  data() {
    return {
      row: null,
      column: null
    }
  },
  watch: {
    params() {
      this.load()
    }
  },
  created() {
    this.load()
  },
  methods: {
    load() {
      const { row, column } = this.params
      this.row = row
      this.column = column
    }
  }
}
</script>

<style lang="scss">

.vxe-textarea--inner{
  height: 200px;
}

.edit-down-pulldown {
  width: 100%;
}
.edit-down-wrapper {
  background-color: #fff;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
}
.edit-down-text {
  min-width:500px;
  width: 100%;
  height: 200px;
  display: block;
}

</style>
